<div class="cover">
    <div class="pic box">
        <div class="img">
            <ul>
                <?php foreach($output['spec_imgs'] as $key=>$vo){ ?>
                <li><a><img src="<?php echo $vo['img_path']; ?>" /></a></li>
                <?php } ?>

            </ul>
        </div>
        <!--<div class="ico"></div>-->
        <span class="number"><i class=""></i><?php echo $output['spec_info']['img_sum']; ?></span>
        <span class="dele">X</span>
    </div>
    <div class="main">
        <div class="main_border">
            <ul class="main_ul ">
                <li >面积<span><?php echo $output['spec_info']['floorage'] ?>m<sup>2</sup></span></li>
                <li >可住<span><?php echo $output['spec_info']['true_number'] ?>人</span></li>
            </ul>
            <ul class="main_ul ">
                <li >楼层<span><?php echo $output['spec_info']['floor']?>楼</span></li>
                <li>床型<span><?php  echo $output['spec_info']['bed_type']; ?></span></li>
            </ul>
        </div>
        <div class="main_main">
            <div class="main_title">
                浴室用品<span><?php echo $output['spec_info']['shower_oom']; ?></span>
            </div>
            <div class="main_title">
                便利设施<span><?php echo $output['spec_info']['amenities']; ?></span>
            </div>
        </div>
        <?php if(isset($output['all_price']) && $output['type']!=1) {?>
        <div class="main_btn">
            <div class="total"><?php echo $output['hotel_time']['numdate']; ?>晚总价<span class="pay_color"><i class="iconfont icon-renminbi"></i><?php echo $output['all_price']; ?></span></div>
            <span class="cost">房费：<?php echo $output['all_price']; ?></span><!--<span class="cost">税费约：94</span>-->
            <?php if($output['spec_info']['close']==1) {?>
                <a class="no"  style="background-color: #555">预定</a>
            <?php }else {?>
                <?php if($output['spec_info']['stock']<=$output['sum_on_num']){?>
                    <a class="no" style="background-color: #555">预定</a>
                <?php }else{ ?>
                    <a class="fr" href="index.php?act=hotel&op=place_info&hotel_id=<?php echo $output['spec_info']['goods_id']; ?>&spec_id=<?php echo $output['spec_info']['spec_id']; ?>" >预定</a>
                <?php } ?>
             <?php } ?>

        </div>
        <?php  }?>
    </div>
</div>
<script>
    $('.img').mySlider({
        imgBox: $('.img'),
        imgIco: $('.ico'),
        active: 'on',
        autoPlay: true,
        interval: 3000,
        speed: 400,
        direction: true,
    });
</script>

